Use private docker repository with K8S operator and XCOM sidecar container · Issue #10605 · apache/airflow · GitHub

您所在的位置:网站首页 airflow xcom Use private docker repository with K8S operator and XCOM sidecar container · Issue #10605 · apache/airflow · GitHub

Use private docker repository with K8S operator and XCOM sidecar container · Issue #10605 · apache/airflow · GitHub

#Use private docker repository with K8S operator and XCOM sidecar container · Issue #10605 · apache/airflow · GitHub| 来源: 网络整理| 查看: 265

@ZackingIt Where exactly did you put the configuration? When I put the PodDefaults.SIDECAR_CONTAINER.image (as mentioned several times here and everywhere else) into the values.yaml it is just used by the helm chart. But I can't figure out where to put the airflow_local_settings.py to configure the worker pod image pulled by the KubernetesExecutor. I even can't build a Docker image with Airflow 2.1.4 which is configured as needed.

My current Dockerfile looks like the following:

FROM apache/airflow:2.1.4-python3.8@sha256:ae98e5e9eba596e24bce820e5f3a109274b82cd347bb9fdfca1e9d3f0dda4bb0 COPY --chown=airflow:root airflow_local_settings.py /opt/airflow/config/airflow_local_settings.py USER airflow

But as soon as the KubernetesExecutor is pulling my image (because I configured it in the values.yaml) it runs into the Docker pull limit very easy, because I can't configure the image correctly.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3